* {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
}

input {
  outline: none;
  border: none;
}

svg {
  width: 100%;
  height: 100%;
}

.auto-img {
  width: 100%;
  height: 100%;
}

.img-auto {
  width: 100%;
  height: 100%;
}

.box {
  width: 248px;
  height: 472px;
  margin: 0 auto;
}

.bilibili-ranking {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  color: #18191c;
}

.bilibili-ranking .bilibili-ranking-head {
  width: 100%;
  height: 34px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bilibili-ranking .bilibili-ranking-head > div:nth-child(1) {
  cursor: pointer;
  transition: color .3s;
  font-size: 24px;
  line-height: 34px;
}

.bilibili-ranking .bilibili-ranking-head > div:nth-child(1):hover {
  color: #00aeec;
}

.bilibili-ranking .bilibili-ranking-head > div:nth-child(2) {
  width: 64px;
  height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  box-sizing: border-box;
}

.bilibili-ranking .bilibili-ranking-head > div:nth-child(2) > div {
  display: block;
  width: 12px;
  height: 12px;
  font-size: 0;
  line-height: 0;
}

.bilibili-ranking .bilibili-ranking-head > div:nth-child(2):hover {
  background-color: #e3e5e7;
}

.bilibili-ranking .bilibili-ranking-content {
  width: 100%;
  height: calc(100% - 46px);
  border: 1px solid #f1f2f3;
  border-radius: 6px;
  background-color: #f6f7f8;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 15px 8px;
  cursor: pointer;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item > div {
  margin-right: 6px;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item > div:nth-child(1) {
  font-style: italic;
  width: 20px;
  height: 20px;
  color: #c9ccd0;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item > div:nth-child(2) {
  display: none;
  width: 90px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item > div:nth-child(3) {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 20px;
  font-size: 14px;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item > div:nth-child(3):hover {
  color: #00aeec;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item:nth-child(1) {
  height: 86px;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item:nth-child(1) > div:nth-child(1) {
  color: #ff473d;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item:nth-child(1) > div:nth-child(2) {
  display: block;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item:nth-child(1) > div:nth-child(3) {
  height: 100%;
  align-self: flex-start;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item:nth-child(2) > div:nth-child(1) {
  color: #ff6a29;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item:nth-child(3) > div:nth-child(1) {
  color: #ff9214;
}

.bilibili-ranking .bilibili-ranking-content .bilibili-ranking-content-item:nth-child(2n-1) {
  background-color: #ffffff;
}
